IMotion.SetAxisDigitalOutput method

Sets a bool value to an output indicated by the index.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsCommandStatus SetAxisDigitalOutput(
       int Index,
       int OutputNumber,
       bool Value,
       McExecutionMode ExecutionMode
)
Function SetAxisDigitalOutput(
       Index As Integer,
       OutputNumber As Integer,
       Value As Boolean,
       ExecutionMode As McExecutionMode
) As KsCommandStatus

Parameters

Index [in]

Type: int

The index of an output signal source (axis). Indexes are zero based. Aliases affect this parameter.

 

OutputNumber [in]

Type: int

Selects an output. The range is 0-31.

 

Value [in]

Type: bool

The value of the selected output.

 

ExecutionMode [in]

Type: McExecutionMode

Defines the chronological sequence of a method.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace